@extends('admin.layout.index')
@section('header','收藏夹')
@section('con')

<div class="panel panel-default">
    <div class="panel-heading">
        收藏夹列表
    </div>
    <!-- /.panel-heading -->
    <div class="panel-body">
        <div class="table-responsive">
            <table class="table table-hover">
                <thead>
                    <tr class="info">
                        <th>收藏夹标题</th>
                        <th>描述</th>
                        <th>状态</th>
                        <th>类型</th>
                        
                    </tr>
                </thead>
                <tbody>
                @foreach($datas as $k=>$v)
                    <tr>
                        <td>{{$v->title}}</td>
                        <td>{{$v->content}}</td>
                        <td>{{(($v->status)==1)?'公开':'私密'}}</td>
                        <td>
                        <a href="/admin/collect/list?id={{$v->id}}">
                        <button type="submit" class="btn btn-outline btn-success btn-xs">文章</button>
                        </a>
                        <a href="/admin/collect/da?id={{$v->id}}">
                        <button type="submit" class="btn btn-outline btn-info btn-xs">答案</button>
                        </a>
                        <a href="/admin/collect/zlwz?id={{$v->id}}">
                        <button type="submit" class="btn btn-outline btn-warning btn-xs">专栏文章</button>
                        </a>
                        </td>
                    </tr>
                @endforeach
                </tbody>
            </table>
        </div>
        <!-- /.table-responsive -->
    </div>
    <!-- /.panel-body -->
</div>
<!-- /.panel -->
                
@endsection